﻿package mortal.game.view.lotteryDraw
{
    import flash.utils.*;
    import mortal.game.resource.tableConfig.*;

    public class lotteryDrawCache extends Object
    {
        private var _showItemDic:Dictionary;
        public var isShowTestPool:Boolean = false;
        public var isEffectFlag:Boolean = true;
        public var isModaiEffect:Boolean = false;
        public var isHideLottery:Boolean = false;

        public function lotteryDrawCache()
        {
            return;
        }// end function

        private function get showItemDic() : Dictionary
        {
            if (!this._showItemDic)
            {
                this._showItemDic = new Dictionary();
            }
            return this._showItemDic;
        }// end function

        public function getShowItemVec(param1:int) : Array
        {
            if (!this.showItemDic[param1])
            {
                this.showItemDic[param1] = lotteryDrawRewardConfig.instance.getShowItemsByLevel(param1);
            }
            return this.showItemDic[param1];
        }// end function

    }
}
